package leetcode;

public class MergeKLists {

    static class ListNode {
        int val;
        ListNode next;
        ListNode(int x){
            this.val = x;
        }
    }

    public ListNode mergeKLists(ListNode[] lists){
        ListNode preHead = new ListNode(0);
        ListNode curr = preHead;
        while(true){
            boolean end = false;
            for(ListNode list: lists){

            }
        }
    }

}
